|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.pnr.hci.TranslationRowModel
public class TranslationRowModel
This class represents a row in a translation table. If i0, i1, i2, i3 or i4 is not set, that mean for "any" in-value.
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="row">
<xs:complexType>
<xs:attribute name="i0" type="xs:string" use="optional"/>
<xs:attribute name="i1" type="xs:string" use="optional"/>
<xs:attribute name="i2" type="xs:string" use="optional"/>
<xs:attribute name="i3" type="xs:string" use="optional"/>
<xs:attribute name="i4" type="xs:string" use="optional"/>
<xs:attribute name="sd" type="xs:dateTime" use="optional" />
<xs:attribute name="ed" type="xs:dateTime" use="optional" />
<xs:attribute name="s0" type="xs:string" use="optional"/>
<xs:attribute name="n0" type="xs:decimal" use="optional"/>
<xs:attribute name="s1" type="xs:string" use="optional"/>
<xs:attribute name="n1" type="xs:decimal" use="optional"/>
<xs:attribute name="s2" type="xs:string" use="optional"/>
<xs:attribute name="n2" type="xs:decimal" use="optional"/>
<xs:attribute name="s3" type="xs:string" use="optional"/>
<xs:attribute name="n3" type="xs:decimal" use="optional"/>
<xs:attribute name="s4" type="xs:string" use="optional"/>
<xs:attribute name="n4" type="xs:decimal" use="optional"/>
<xs:attribute name="s5" type="xs:string" use="optional"/>
<xs:attribute name="n5" type="xs:decimal" use="optional"/>
<xs:attribute name="s6" type="xs:string" use="optional"/>
<xs:attribute name="n6" type="xs:decimal" use="optional"/>
<xs:attribute name="s7" type="xs:string" use="optional"/>
<xs:attribute name="n7" type="xs:decimal" use="optional"/>
<xs:attribute name="s8" type="xs:string" use="optional"/>
<xs:attribute name="n8" type="xs:decimal" use="optional"/>
<xs:attribute name="s9" type="xs:string" use="optional"/>
<xs:attribute name="n9" type="xs:decimal" use="optional"/>
<xs:attribute name="s10" type="xs:string" use="optional"/>
<xs:attribute name="n10" type="xs:decimal" use="optional"/>
<xs:attribute name="s11" type="xs:string" use="optional"/>
<xs:attribute name="n11" type="xs:decimal" use="optional"/>
<xs:attribute name="s12" type="xs:string" use="optional"/>
<xs:attribute name="n12" type="xs:decimal" use="optional"/>
<xs:attribute name="s13" type="xs:string" use="optional"/>
<xs:attribute name="n13" type="xs:decimal" use="optional"/>
<xs:attribute name="s14" type="xs:string" use="optional"/>
<xs:attribute name="n14" type="xs:decimal" use="optional"/>
</xs:complexType>
</xs:element>
| Constructor Summary | |
|---|---|
TranslationRowModel()
Builds an empty TranslationRowModel. |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the child representing
the marshallable object which must be added to the element. |
java.util.Date |
getEndDate()
Returns the end date for this row. |
boolean |
getIfDatesAreUsed()
|
java.lang.String |
getInValue(int inIndex)
Returns the input value from an index. |
java.lang.Object |
getOutValue(int outIndex)
Returns the output value from an index. |
java.util.Date |
getStartDate()
Returns the start date for this row. |
boolean |
isValid(java.util.Vector<OutAttributeModel> outAttributes)
Returns true if the translation row is valid. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setEndDate(java.util.Date d)
Sets the end date for this row. |
void |
setInValue(int inIndex,
java.lang.String value)
Sets the input value at an index. |
void |
setOutValue(int outIndex,
java.lang.Object value)
Sets the output value at an index. |
void |
setStartDate(java.util.Date d)
Sets the start date for this row. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TranslationRowModel()
| Method Detail |
|---|
public java.lang.String getInValue(int inIndex)
inIndex - the index.
public void setInValue(int inIndex,
java.lang.String value)
inIndex - the index.value - the input value.public java.util.Date getStartDate()
public void setStartDate(java.util.Date d)
d - The start date for this row.public java.util.Date getEndDate()
public void setEndDate(java.util.Date d)
d - The end date for this row.public java.lang.Object getOutValue(int outIndex)
outIndex - the index.
public void setOutValue(int outIndex,
java.lang.Object value)
outIndex - the index.value - the output value.public boolean isValid(java.util.Vector<OutAttributeModel> outAttributes)
outAttributes - a Vector of OutAttributeModel representing out attribute format.
public void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic boolean getIfDatesAreUsed()
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - The XML output to marshal the object into
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||